package com.example.administrator.szb.bean;

import java.util.List;

/**
 * Created by D N on 2017/11/4.
 * 资讯列表
 */

public class ZXBean {

    /**
     * result : 1
     * err_code : 0
     * err_msg :
     * data : {"list":[{"id":12,"image":"h","title":"测试一波","reading_num":0,"author":"杨小刚","status":2,"create_time":"1天前","type":1,"users_id":73,"collect_count":1,"headImg":"http://106.15.194.111/uploads/1509264469cmIV.jpg","wight_count":0.7},{"id":10,"image":"http://ownv0vrav.bkt.clouddn.com/2017-11-02_16:05:34_KRPT3rZr.mp4?vframe/jpg/offset/0","title":"xiaogang","reading_num":1,"author":"杨小刚","status":2,"create_time":"1天前","type":2,"users_id":73,"collect_count":0,"headImg":"http://106.15.194.111/uploads/1509264469cmIV.jpg","wight_count":0.3},{"id":11,"image":"/","title":"夜雾管理","reading_num":0,"author":"杨小刚","status":2,"create_time":"1天前","type":1,"users_id":73,"collect_count":0,"headImg":"http://106.15.194.111/uploads/1509264469cmIV.jpg","wight_count":0},{"id":13,"image":"h","title":"123321","reading_num":0,"author":"杨小刚","status":2,"create_time":"1天前","type":1,"users_id":73,"collect_count":0,"headImg":"http://106.15.194.111/uploads/1509264469cmIV.jpg","wight_count":0},{"id":14,"image":"http://ownv0vrav.bkt.clouddn.com/2017-11-03_PqPcBkry.png","title":"133","reading_num":0,"author":"杨小刚","status":2,"create_time":"1天前","type":1,"users_id":73,"collect_count":0,"headImg":"http://106.15.194.111/uploads/1509264469cmIV.jpg","wight_count":0},{"id":15,"image":"http://ownv0vrav.bkt.clouddn.com/2017-11-03_Oto17sSE.png","title":"股票质押","reading_num":0,"author":"杨小刚","status":2,"create_time":"1天前","type":1,"users_id":73,"collect_count":0,"headImg":"http://106.15.194.111/uploads/1509264469cmIV.jpg","wight_count":0}],"per_page":"10","current_page":"1"}
     */

    private int result;
    private int err_code;
    private String err_msg;
    private DataBean data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public int getErr_code() {
        return err_code;
    }

    public void setErr_code(int err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * list : [{"id":12,"image":"h","title":"测试一波","reading_num":0,"author":"杨小刚","status":2,"create_time":"1天前","type":1,"users_id":73,"collect_count":1,"headImg":"http://106.15.194.111/uploads/1509264469cmIV.jpg","wight_count":0.7},{"id":10,"image":"http://ownv0vrav.bkt.clouddn.com/2017-11-02_16:05:34_KRPT3rZr.mp4?vframe/jpg/offset/0","title":"xiaogang","reading_num":1,"author":"杨小刚","status":2,"create_time":"1天前","type":2,"users_id":73,"collect_count":0,"headImg":"http://106.15.194.111/uploads/1509264469cmIV.jpg","wight_count":0.3},{"id":11,"image":"/","title":"夜雾管理","reading_num":0,"author":"杨小刚","status":2,"create_time":"1天前","type":1,"users_id":73,"collect_count":0,"headImg":"http://106.15.194.111/uploads/1509264469cmIV.jpg","wight_count":0},{"id":13,"image":"h","title":"123321","reading_num":0,"author":"杨小刚","status":2,"create_time":"1天前","type":1,"users_id":73,"collect_count":0,"headImg":"http://106.15.194.111/uploads/1509264469cmIV.jpg","wight_count":0},{"id":14,"image":"http://ownv0vrav.bkt.clouddn.com/2017-11-03_PqPcBkry.png","title":"133","reading_num":0,"author":"杨小刚","status":2,"create_time":"1天前","type":1,"users_id":73,"collect_count":0,"headImg":"http://106.15.194.111/uploads/1509264469cmIV.jpg","wight_count":0},{"id":15,"image":"http://ownv0vrav.bkt.clouddn.com/2017-11-03_Oto17sSE.png","title":"股票质押","reading_num":0,"author":"杨小刚","status":2,"create_time":"1天前","type":1,"users_id":73,"collect_count":0,"headImg":"http://106.15.194.111/uploads/1509264469cmIV.jpg","wight_count":0}]
         * per_page : 10
         * current_page : 1
         */

        private String per_page;
        private String current_page;
        private List<ListBean> list;

        public String getPer_page() {
            return per_page;
        }

        public void setPer_page(String per_page) {
            this.per_page = per_page;
        }

        public String getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(String current_page) {
            this.current_page = current_page;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 12
             * image : h
             * title : 测试一波
             * reading_num : 0
             * author : 杨小刚
             * status : 2
             * create_time : 1天前
             * type : 1
             * users_id : 73
             * collect_count : 1
             * headImg : http://106.15.194.111/uploads/1509264469cmIV.jpg
             * wight_count : 0.7
             */

            private int id;
            private String image;
            private String title;
            private int reading_num;
            private String author;
            private int status;
            private String create_time;
            private int type;
            private int users_id;
            private int collect_count;
            private String headImg;
            private double wight_count;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public int getReading_num() {
                return reading_num;
            }

            public void setReading_num(int reading_num) {
                this.reading_num = reading_num;
            }

            public String getAuthor() {
                return author;
            }

            public void setAuthor(String author) {
                this.author = author;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getUsers_id() {
                return users_id;
            }

            public void setUsers_id(int users_id) {
                this.users_id = users_id;
            }

            public int getCollect_count() {
                return collect_count;
            }

            public void setCollect_count(int collect_count) {
                this.collect_count = collect_count;
            }

            public String getHeadImg() {
                return headImg;
            }

            public void setHeadImg(String headImg) {
                this.headImg = headImg;
            }

            public double getWight_count() {
                return wight_count;
            }

            public void setWight_count(double wight_count) {
                this.wight_count = wight_count;
            }
        }
    }
}
